<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p  style="color:pink" id="123">你好</p>
<p>2323</p>

<input type="text" id="a1" aria-label="">
<script src="./jquery.js"></script>
<script>
   $(document).ready(()=>{
       $('p').dblclick(function (){
           $(this).hide()
       })
       $('#a1').change(function (){
           console.log($(this).val())
       })
   })
</script>

</body>
</html>